# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainwidget/mainwindow.ui'
#
# Created: Tue Mar 23 21:22:39 2010
#      by: PyQt4 UI code generator 4.7
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(700, 500)
        MainWindow.setMinimumSize(QtCore.QSize(700, 500))
        self.centralWidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralWidget.sizePolicy().hasHeightForWidth())
        self.centralWidget.setSizePolicy(sizePolicy)
        self.centralWidget.setObjectName("centralWidget")
        self.tabWidget = QtGui.QTabWidget(self.centralWidget)
        self.tabWidget.setGeometry(QtCore.QRect(0, 0, 700, 500))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setMinimumSize(QtCore.QSize(700, 500))
        self.tabWidget.setObjectName("tabWidget")
        self.homeTab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.homeTab.sizePolicy().hasHeightForWidth())
        self.homeTab.setSizePolicy(sizePolicy)
        self.homeTab.setObjectName("homeTab")
        self.gridLayoutWidget = QtGui.QWidget(self.homeTab)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 691, 431))
        self.gridLayoutWidget.setObjectName("gridLayoutWidget")
        self.homeGridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.homeGridLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.homeGridLayout.setObjectName("homeGridLayout")
        self.homePerfGroupBox = QtGui.QGroupBox(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.homePerfGroupBox.sizePolicy().hasHeightForWidth())
        self.homePerfGroupBox.setSizePolicy(sizePolicy)
        self.homePerfGroupBox.setObjectName("homePerfGroupBox")
        self.homeGridLayout.addWidget(self.homePerfGroupBox, 1, 0, 1, 1)
        self.summaryGroupBox = QtGui.QGroupBox(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.summaryGroupBox.sizePolicy().hasHeightForWidth())
        self.summaryGroupBox.setSizePolicy(sizePolicy)
        self.summaryGroupBox.setObjectName("summaryGroupBox")
        self.homeGridLayout.addWidget(self.summaryGroupBox, 0, 0, 1, 1)
        self.homeGridLayout.setRowMinimumHeight(1, 1)
        self.homeGridLayout.setRowStretch(0, 1)
        self.homeGridLayout.setRowStretch(1, 1)
        self.tabWidget.addTab(self.homeTab, "")
        self.assetsTab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.assetsTab.sizePolicy().hasHeightForWidth())
        self.assetsTab.setSizePolicy(sizePolicy)
        self.assetsTab.setObjectName("assetsTab")
        self.assetsGroupBox = QtGui.QGroupBox(self.assetsTab)
        self.assetsGroupBox.setGeometry(QtCore.QRect(0, 0, 691, 421))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.assetsGroupBox.sizePolicy().hasHeightForWidth())
        self.assetsGroupBox.setSizePolicy(sizePolicy)
        self.assetsGroupBox.setObjectName("assetsGroupBox")
        self.assetsTableView = QtGui.QTableView(self.assetsGroupBox)
        self.assetsTableView.setGeometry(QtCore.QRect(0, 20, 565, 400))
        self.assetsTableView.setObjectName("assetsTableView")
        self.assetsNewButton = QtGui.QPushButton(self.assetsGroupBox)
        self.assetsNewButton.setGeometry(QtCore.QRect(570, 30, 113, 32))
        self.assetsNewButton.setObjectName("assetsNewButton")
        self.assetsDeleteButton = QtGui.QPushButton(self.assetsGroupBox)
        self.assetsDeleteButton.setGeometry(QtCore.QRect(570, 60, 113, 32))
        self.assetsDeleteButton.setObjectName("assetsDeleteButton")
        self.assetsHistoryButton = QtGui.QPushButton(self.assetsGroupBox)
        self.assetsHistoryButton.setGeometry(QtCore.QRect(570, 90, 113, 32))
        self.assetsHistoryButton.setObjectName("assetsHistoryButton")
        self.tabWidget.addTab(self.assetsTab, "")
        self.brokersTab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.brokersTab.sizePolicy().hasHeightForWidth())
        self.brokersTab.setSizePolicy(sizePolicy)
        self.brokersTab.setObjectName("brokersTab")
        self.brokersGroupBox = QtGui.QGroupBox(self.brokersTab)
        self.brokersGroupBox.setGeometry(QtCore.QRect(0, 0, 691, 421))
        self.brokersGroupBox.setObjectName("brokersGroupBox")
        self.brokersTableView = QtGui.QTableView(self.brokersGroupBox)
        self.brokersTableView.setGeometry(QtCore.QRect(0, 20, 565, 400))
        self.brokersTableView.setObjectName("brokersTableView")
        self.brokersNewButton = QtGui.QPushButton(self.brokersGroupBox)
        self.brokersNewButton.setGeometry(QtCore.QRect(570, 30, 113, 32))
        self.brokersNewButton.setObjectName("brokersNewButton")
        self.brokersDeleteButton = QtGui.QPushButton(self.brokersGroupBox)
        self.brokersDeleteButton.setGeometry(QtCore.QRect(570, 60, 113, 32))
        self.brokersDeleteButton.setObjectName("brokersDeleteButton")
        self.tabWidget.addTab(self.brokersTab, "")
        self.positionsTab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.positionsTab.sizePolicy().hasHeightForWidth())
        self.positionsTab.setSizePolicy(sizePolicy)
        self.positionsTab.setObjectName("positionsTab")
        self.positionsGroupBox = QtGui.QGroupBox(self.positionsTab)
        self.positionsGroupBox.setGeometry(QtCore.QRect(0, 0, 691, 250))
        self.positionsGroupBox.setObjectName("positionsGroupBox")
        self.positionsTableView = QtGui.QTableView(self.positionsGroupBox)
        self.positionsTableView.setGeometry(QtCore.QRect(0, 20, 565, 225))
        self.positionsTableView.setObjectName("positionsTableView")
        self.positionsNewButton = QtGui.QPushButton(self.positionsGroupBox)
        self.positionsNewButton.setGeometry(QtCore.QRect(570, 30, 113, 32))
        self.positionsNewButton.setObjectName("positionsNewButton")
        self.positionsDeleteButton = QtGui.QPushButton(self.positionsGroupBox)
        self.positionsDeleteButton.setGeometry(QtCore.QRect(570, 60, 113, 32))
        self.positionsDeleteButton.setObjectName("positionsDeleteButton")
        self.tabWidget.addTab(self.positionsTab, "")
        self.performancesTab = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.performancesTab.sizePolicy().hasHeightForWidth())
        self.performancesTab.setSizePolicy(sizePolicy)
        self.performancesTab.setObjectName("performancesTab")
        self.tabWidget.addTab(self.performancesTab, "")
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 700, 22))
        self.menuBar.setObjectName("menuBar")
        self.menuLol = QtGui.QMenu(self.menuBar)
        self.menuLol.setObjectName("menuLol")
        self.menuEdit = QtGui.QMenu(self.menuBar)
        self.menuEdit.setObjectName("menuEdit")
        self.menuHelp = QtGui.QMenu(self.menuBar)
        self.menuHelp.setObjectName("menuHelp")
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtGui.QToolBar(MainWindow)
        self.mainToolBar.setObjectName("mainToolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtGui.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)
        self.actionOpen_portfolio = QtGui.QAction(MainWindow)
        self.actionOpen_portfolio.setObjectName("actionOpen_portfolio")
        self.actionSave_portfolio = QtGui.QAction(MainWindow)
        self.actionSave_portfolio.setObjectName("actionSave_portfolio")
        self.actionNew = QtGui.QAction(MainWindow)
        self.actionNew.setObjectName("actionNew")
        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName("actionQuit")
        self.actionAbout = QtGui.QAction(MainWindow)
        self.actionAbout.setObjectName("actionAbout")
        self.menuLol.addAction(self.actionNew)
        self.menuLol.addAction(self.actionOpen_portfolio)
        self.menuLol.addAction(self.actionSave_portfolio)
        self.menuLol.addAction(self.actionQuit)
        self.menuHelp.addAction(self.actionAbout)
        self.menuBar.addAction(self.menuLol.menuAction())
        self.menuBar.addAction(self.menuEdit.menuAction())
        self.menuBar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Asset Holder", None, QtGui.QApplication.UnicodeUTF8))
        self.homePerfGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Performance(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.homeTab), QtGui.QApplication.translate("MainWindow", "Home", None, QtGui.QApplication.UnicodeUTF8))
        self.assetsTab.setToolTip(QtGui.QApplication.translate("MainWindow", "Asset tab", None, QtGui.QApplication.UnicodeUTF8))
        self.assetsGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Asset(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.assetsNewButton.setText(QtGui.QApplication.translate("MainWindow", "New", None, QtGui.QApplication.UnicodeUTF8))
        self.assetsDeleteButton.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.assetsHistoryButton.setText(QtGui.QApplication.translate("MainWindow", "Show history", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.assetsTab), QtGui.QApplication.translate("MainWindow", "Assets", None, QtGui.QApplication.UnicodeUTF8))
        self.brokersGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Broker(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.brokersNewButton.setText(QtGui.QApplication.translate("MainWindow", "New", None, QtGui.QApplication.UnicodeUTF8))
        self.brokersDeleteButton.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.brokersTab), QtGui.QApplication.translate("MainWindow", "Brokers", None, QtGui.QApplication.UnicodeUTF8))
        self.positionsGroupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Position(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.positionsNewButton.setText(QtGui.QApplication.translate("MainWindow", "New", None, QtGui.QApplication.UnicodeUTF8))
        self.positionsDeleteButton.setText(QtGui.QApplication.translate("MainWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.positionsTab), QtGui.QApplication.translate("MainWindow", "Positions", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.performancesTab), QtGui.QApplication.translate("MainWindow", "Performance", None, QtGui.QApplication.UnicodeUTF8))
        self.menuLol.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuEdit.setTitle(QtGui.QApplication.translate("MainWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen_portfolio.setText(QtGui.QApplication.translate("MainWindow", "Open portfolio...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_portfolio.setText(QtGui.QApplication.translate("MainWindow", "Save portfolio...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew.setText(QtGui.QApplication.translate("MainWindow", "New...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About...", None, QtGui.QApplication.UnicodeUTF8))

